package lsystem

import java.util.regex.Pattern
import scala.util.matching.Regex

/**
 * Created by IntelliJ IDEA.
 * User: koeppelad
 * Date: 4/14/11
 * Time: 8:29 PM
 * To change this template use File | Settings | File Templates.
 */

case class Variable(name: Regex , action: () => Unit)
{
  def this(name: String, action: () => Unit) =
    this(Pattern.quote(name).r, action)
}